#ifndef _BATTLE_STATE_H
#define _BATTLE_STATE_H
#include "basestate.h"
#include <vector>
#define SAFE_RELEASE(x) if(x){x->Release(); x = 0;}
class BattleState :
	public BaseState
{
private:
	std::vector<IDirect3DTexture9*> m_pTexture;
	std::vector<D3DMATERIAL9> m_Material;
public:
	BattleState(IDirect3DDevice9* m_pD3DDevice);
	~BattleState(void);

	void Create(IDirect3DDevice9* m_pD3DDevice);
	void Render();
	void Update();
	void Destroy();
	void CreateTextures(IDirect3DDevice9* m_pD3DDevice);
	void CreateObjects(IDirect3DDevice9* m_pD3DDevice);
};
#endif

